package sk.velkavrana.app.databaseInfo.model;

/**
 * @author mtymes
 * @since Sep 22, 2009 2:42:15 AM
 */
public class ConnectionInfo implements StorableObject<String> {

    private String id;
    private String url;
    private String login;
    private String password;
    private String schema;
    private DatabaseInfo databaseInfo;


    public ConnectionInfo() {
    }


    public String getId() {
        return id;
    }


    public ConnectionInfo setId(String id) {
        this.id = id;

        return this;
    }


    public String getUrl() {
        return url;
    }


    public ConnectionInfo setUrl(String url) {
        this.url = url;

        return this;
    }


    public String getLogin() {
        return login;
    }


    public ConnectionInfo setLogin(String login) {
        this.login = login;

        return this;
    }


    public String getPassword() {
        return password;
    }


    public ConnectionInfo setPassword(String password) {
        this.password = password;

        return this;
    }


    public String getSchema() {
        return schema;
    }


    public ConnectionInfo setSchema(String schema) {
        this.schema = schema;

        return this;
    }


    public DatabaseInfo getDatabaseInfo() {
        return databaseInfo;
    }


    public ConnectionInfo setDatabaseInfo(DatabaseInfo databaseInfo) {
        this.databaseInfo = databaseInfo;

        return this;
    }
}
